#include "GameObject.h"

bool GameObject::init(){
	CCNode::init();
	setAnchorPoint(ccp(0.5, 0.5));
	return true;
}

GameObject::~GameObject()
{
}

// getter & setter
int GameObject::getState(){
	return state;
}

CCArray* GameObject::createSpriteArray(){
	CCArray* arraySprite = new CCArray;
	arraySprite->addObject(mainSprite);
	return arraySprite;
}

void GameObject::draw(){
}

void GameObject::setState(int state){
	this->state = state;
}